package com.yunmang.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/5/9.
 */
public class SendBean {

    /**
     * Plate : aaa
     * driverName : aa
     * driverPhone : bb
     */

    private CarBean car;
    /**
     * bills : [11,22]
     * car : {"Plate":"aaa","driverName":"aa","driverPhone":"bb"}
     * userId : 4
     * orgId : 34
     * nextId : 31
     * note : 备注
     * userHostAddress : MAC地址
     * carCostByShipper : 10
     * carCostByConsignee : 20
     * stevedoreCost : 0
     * scanHistories : [{"billId":11,"scanCount":10,"childrenHdbh":["11-1","11-2"]}]
     */

    private String userId;
    private String orgId;
    private String nextId;
    private String note;
    private String userHostAddress;
    private String carCostByShipper;
    private String carCostByConsignee;
    private String stevedoreCost;
    private List<Integer> bills;
    /**
     * billId : 11
     * scanCount : 10
     * childrenHdbh : ["11-1","11-2"]
     */

    private List<ScanHistoriesBean> scanHistories;

    public CarBean getCar() {
        return car;
    }

    public void setCar(CarBean car) {
        this.car = car;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getNextId() {
        return nextId;
    }

    public void setNextId(String nextId) {
        this.nextId = nextId;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getUserHostAddress() {
        return userHostAddress;
    }

    public void setUserHostAddress(String userHostAddress) {
        this.userHostAddress = userHostAddress;
    }

    public String getCarCostByShipper() {
        return carCostByShipper;
    }

    public void setCarCostByShipper(String carCostByShipper) {
        this.carCostByShipper = carCostByShipper;
    }

    public String getCarCostByConsignee() {
        return carCostByConsignee;
    }

    public void setCarCostByConsignee(String carCostByConsignee) {
        this.carCostByConsignee = carCostByConsignee;
    }

    public String getStevedoreCost() {
        return stevedoreCost;
    }

    public void setStevedoreCost(String stevedoreCost) {
        this.stevedoreCost = stevedoreCost;
    }

    public List<Integer> getBills() {
        return bills;
    }

    public void setBills(List<Integer> bills) {
        this.bills = bills;
    }

    public List<ScanHistoriesBean> getScanHistories() {
        return scanHistories;
    }

    public void setScanHistories(List<ScanHistoriesBean> scanHistories) {
        this.scanHistories = scanHistories;
    }

    public static class CarBean {
        private String Plate;
        private String driverName;
        private String driverPhone;

        public String getPlate() {
            return Plate;
        }

        public void setPlate(String Plate) {
            this.Plate = Plate;
        }

        public String getDriverName() {
            return driverName;
        }

        public void setDriverName(String driverName) {
            this.driverName = driverName;
        }

        public String getDriverPhone() {
            return driverPhone;
        }

        public void setDriverPhone(String driverPhone) {
            this.driverPhone = driverPhone;
        }
    }

    public static class ScanHistoriesBean {
        private String billId;
        private String scanCount;
        private List<String> childrenHdbh;

        public String getBillId() {
            return billId;
        }

        public void setBillId(String billId) {
            this.billId = billId;
        }

        public String getScanCount() {
            return scanCount;
        }

        public void setScanCount(String scanCount) {
            this.scanCount = scanCount;
        }

        public List<String> getChildrenHdbh() {
            return childrenHdbh;
        }

        public void setChildrenHdbh(List<String> childrenHdbh) {
            this.childrenHdbh = childrenHdbh;
        }
    }
}
